﻿using System;
using System.Collections.Generic;
using System.Text;
using Scenario.WorkflowEngine.Scheduler.Data;
using System.Collections;
using Scenario.WorkflowEngine.DataModel.WorkflowProcesses;

namespace Scenario.WorkflowEngine.Database.WorkflowProcesses
{
    public class WorkflowHelper : Helper
    {
        public IList SelectAllWorkflow()
        {
            return Mapper().QueryForList("SelectAllWorkflow", null);
        }

        public IList DynamicGetWorkflowList(XMLWorkflow workflow)
        {
            return Mapper().QueryForList("dynamicGetAccountList", workflow);
        }
    }
}
